package org.libgdxbar.projects.interfaces.animation;

public abstract class BaseTrackEntry {
	protected GdxAnimation animation;
	protected AnimationListener listener;
	protected Object entryData;

	public BaseTrackEntry() {
	}

	public BaseTrackEntry(BaseTrackEntry other) {
		this.animation = other.animation;
		this.listener = other.listener;
	}

	public void setAnimation(GdxAnimation animation) {
		this.animation = animation;
	}

	public GdxAnimation getAnimation() {
		return animation;
	}

	public BaseTrackEntry setListener(AnimationListener listener) {
		this.listener = listener;
		return this;
	}

	public AnimationListener getListener() {
		return listener;
	}

	public void setEntryData(Object data) {
		this.entryData = data;
	}

	public Object getEntryData() {
		return entryData;
	}


}
